<!DOCTYPE html>  
<html>
<script type="text/javascript">
function f1(){
 var tab2=document.getElementById("tab2");
 tab2.style.display=(tab2.style.display=="none"?"":"none");
} 
$(document).ready(function(){
  $("#flip").click(function(){
    $("#tab2").slideDown("slow");
  });
  $("#close").click(function(){
  $("#tab2").hide(1000);
  });
});
</script>
<h1 style="text-align:center;font-family:arial;color:block;letter-spacing:2px;"/>
	<p style="text-align:center;word-spacing:5px">
	<font size="6">
    <a href="/introduce.html">首页</a>&nbsp;
    <a href="/classes.html">教学班</a>&nbsp;&nbsp;
    <a href="/student.html">学生</a>&nbsp;&nbsp;
    <a href="/teacher.html">老师</a>&nbsp;&nbsp;
    <a href="/course.html">课程</a>&nbsp;&nbsp;
    <a href="/question.html">题库</a>&nbsp;&nbsp;
    <a href="/exam.html">测验</a>&nbsp;&nbsp;
    <a href="/loginUser.html">登录</a>&nbsp;&nbsp;
    </font></p>
    <div style="border-style:solid; border-color:#98bf21">
	<table width=700 height=150 align="center">
 		<tr>
    		<th>题库介绍</th>
    		<th>创建人</th>
    		<th>查看</th>
  		</tr>
  		<#list questionbanklist as qb>
  			<tr align="center">
  				<td>${qb.bankInstruction}</td>
  				<td>${qb.bankCreator}</td>
  				<td><a href="/question/questionlist?bankId=${qb.bankId}">查看</a></td>
  			</tr>
  		</#list>
	</table>
	</div>
<!-- 新建题库 -->	
<div style="text-align:center;font-family:arial;color:block;letter-spacing:2px;">
</p class="one">
<font size="4">
<p class="flip">
<input id="flip" type="button" onclick="f1()" value="新建">
</p>
<form class="tab2" id="tab2" method="post" action="/questionbank/insert" style="display:none" >
   <label>题库介绍:</label>
   <input type="text" id="bankInstruction" name="bankInstruction"><br>
   <label>创建人:</label>
   <input type="text" id="bankCreator" name="bankCreator"><br>
   <input type="submit" id="submit" value="提交">
 </form>
 </font>
 </p>
 </div>
</html> 